/*    */ package com.hp.bon.sgw.ctrl;
/*    */ 
/*    */ import com.hp.bon.sgw.service.SysCtrlService;
/*    */ import org.springframework.context.support.ClassPathXmlApplicationContext;
/*    */ 
/*    */ public class SGWProgramerStarter extends SpringProgramerStarter
/*    */ {
/*    */   private SysCtrlService sysCtrlSrv;
/*    */ 
/*    */   public SGWProgramerStarter()
/*    */   {
/*  8 */     setHomeDirVar("SGW_HOME");
/*    */   }
/*    */ 
/*    */   public void runPeriodJob()
/*    */   {
/* 16 */     this.sysCtrlSrv.doPeriodJob();
/*    */   }
/*    */ 
/*    */   public boolean needStop()
/*    */   {
/* 21 */     return this.sysCtrlSrv.needStop();
/*    */   }
/*    */ 
/*    */   protected void loadStartParams() {
/* 25 */     super.loadStartParams();
/*    */   }
/*    */ 
/*    */   public void start() {
/* 29 */     super.start();
/* 30 */     this.sysCtrlSrv = ((SysCtrlService)this.ctx.getBean("sysctrlService"));
/*    */   }
/*    */ }

/* Location:           C:\Users\think\Desktop\sgw_2.1.jar
 * Qualified Name:     com.hp.bon.sgw.ctrl.SGWProgramerStarter
 * JD-Core Version:    0.6.1
 */